<h3>{$uploadfeedback|default:'Upload File'}</h3>
<form name="cours" method="POST" ENCTYPE="multipart/form-data"
	action="index.php?upload=1" id="monForm">
	
	<div id="feedback">
	</div>
	<fieldset>
		<legend>inserer cours</legend>
		<p id="formfiliere" style="display: block">
			<label for="form_filiere">filiere:</label> <select id="filiere"
			
				name="filiere"  onchange="updateinputforcour()">
				<option value="0">Choisie une filiere</option> 
				 {foreach from=$selectfl key=k item=val}
				
				<option value="{$k}">{$val}</option> {/foreach}
			</select>
		</p>

		<p id="formanne" style="display: block">
			<label for="form_anne">Anne: </label> <select
				onchange='updateCategries(document.getElementById("filiere").options[this.selectedIndex].value,this.options[this.selectedIndex].value)'
				id="annee" name="annee"> 
				<option value="0">Choisie une annee</option> 
				{foreach from=$selectan key=k item=val}
				<option value="{$k}">{$val}</option> {/foreach}

			</select>
		</p>
		<p id="categories"  style="display: block;">
			<label for="form_anne">Categories: </label> <select onchange='updatecours(this.options[this.selectedIndex].value)'
				id="scategories" name="categorie"> 
				<option value="0">Pas de categories</option>

			</select>
		</p>
		
		
		<p id="forcours"  style="display: block">
			<label for="form_anne">cours: </label> <select id="cours" name="cours"> 
				<option value="0">Pas de cours</option>

			</select>
		</p>

		<table class="aaa" align="center" width=80%>
			<tr>
				<th align="center">Upload File Exaple</th>
			</tr>
			<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="10000000">
			<tr>
				<td align="center">Upload File: <INPUT NAME="uploaded_file"
					TYPE="file"></td>
			</tr>
			<tr>
				<td></td>
			</tr>
			<tr>
				<td align="center"><input type=submit name=submit value="Upload"></td>
			</tr>
			<div id="filecours"  style="display: block">
			
			</div>
		</table>

</form>
